ISmartPosInfoService

Interface for retrieving and managing SmartPOS device information and settings.

Provides methods to access hardware, system, and network details, as well as manage SIM APNs and device UI features.

Inheritors

Types

Link copied to clipboard
Default implementation for ISmartPosInfoService.
Link copied to clipboard
abstract class Stub : Binder, ISmartPosInfoService
Local-side IPC implementation stub class.

Functions

Link copied to clipboard
abstract fun addSimApn(slotId: String, apn: Apn): ApnStatus
Adds an APN to the specified SIM slot.
Link copied to clipboard
abstract fun asBinder(): IBinder
Link copied to clipboard
abstract fun deleteSimApn(slotId: String, apn: Apn): ApnStatus
Deletes an APN from the specified SIM slot.
Link copied to clipboard
Retrieves the current battery status.
Link copied to clipboard
abstract fun getCPUStats(): CPUStats
Retrieves the current CPU statistics.
Link copied to clipboard
abstract fun getDeviceMode(): DeviceMode
Retrieves the current device mode.
Link copied to clipboard
abstract fun getFirmwareVersion(): String
Retrieves the firmware version of the device.
Link copied to clipboard
abstract fun getMemoryStats(): MemoryStats
Retrieves the current memory statistics.
Link copied to clipboard
abstract fun getModuleSupported(): List<Module>
Retrieves the list of supported modules on the device.
Link copied to clipboard
abstract fun getNetworkInfo(): NetworkInfo
Retrieves the current network information.
Link copied to clipboard
abstract fun getSerialNumber(): String
Retrieves the device serial number.
Link copied to clipboard
abstract fun getSimData(): List<Sim>
Retrieves SIM data for all available SIM slots.
Link copied to clipboard
abstract fun getSimSlotIds(): List<String>
Retrieves the list of SIM slot identifiers.
Link copied to clipboard
abstract fun selectSimApn(slotId: String, apn: Apn): ApnStatus
Selects an APN for the specified SIM slot.
Link copied to clipboard
abstract fun setNavigationBar(visible: Boolean): Boolean
Sets the visibility of the navigation bar system-wide.
Link copied to clipboard
abstract fun setStatusBar(expandable: Boolean): Boolean
Enables or disables the expandability of the notification shade system-wide.